package org.afs.gescol.core.dao.interfaces;

import java.util.List;

import org.afs.gescol.core.model.references.Day;

/**
 * Dao interface for school Day management
 * @autor Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public interface DayDao {

    /**
     * Get Day model by its id.
     * @param id the id of the Day to get
     * @return the Day to get
     */
    Day getDayById(Long id);

    /**
     * Get a list of Day models by their label.
     * @param label the label of the Day to get
     * @return the list of Day models those label matches with the providing label
     */
    List<Day> getDaysByLabel(String label);

}
